package com.vrsys.persistence;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.vrsys.domain.Order;
import com.vrsys.view.PageQuery;

public interface OrderMapper {
    void saveOrder(Order order);
    List<Order> queryHistoryOrdersPage(@Param("query") PageQuery<Order> pageQuery, @Param("userId") int userId);
    List<Integer> getOrderIds(@Param("userId") int userId);
}
